package com.abiao.shop.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @Description: DiscountGoods  秒杀折扣商品持久层实体类
 * @Author: AB
 * @Date: 2021-07-16
 * @Version:v1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class DiscountGoods {
    private long id;                    //秒杀商品id
    private long goodsId;               //商品id
    private float discountPrice;        //秒杀折扣价
    private int stockCount;             //可秒杀数量
    private Date startDate;             //秒杀启动时间
    private Date endDate;               //秒杀结束时间
}
